Previous Book Contents Book Index Next

Inside Macintosh: /
QuickDraw 3D RAVE / QuickDraw 3D RAVE Reference
Constants


Triangle Flags Masks

The flags parameter for the QADrawTriGouraud and QADrawTriTexture functions specifies a triangle mode, which determines how the drawing engine draws a triangle. You can use these masks to set the flags parameter.

#define kQATriFlags_None               0
#define kQATriFlags_Backfacing         (1 << 0)
Constant descriptions

kQATriFlags_None
Pass this value for no triangle flags. The triangle is frontfacing or has an unspecified orientation.
kQATriFlags_Backfacing
The triangle is backfacing. You should set this bit for all triangles known to be backfacing (to help the drawing engine resolve ambiguous hidden surface removal situations).

Previous Book Contents Book Index Next

© Apple Computer, Inc.
28 AUG 1996